package com.andy.local.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 配件表
 * </p>
 *
 * @author andylin
 * @since 2021-04-10
 */
@Data
@Accessors(chain = true)
@TableName("parts")
public class Parts {

@TableId(value="Id", type= IdType.AUTO)
private Integer id;

@TableField("goodsId")
private Integer goodsid;

@ApiModelProperty(value = "创建时间")
@TableField("CreationTime")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date creationtime;

@ApiModelProperty(value = "更新时间")
@TableField("UpdateTime")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatetime;

@ApiModelProperty(value = "配件名称")
@TableField("PartName")
private String partname;

@ApiModelProperty(value = "厂家")
@TableField("factory")
private String factory;


}